package com.cskaoyan.bean.vo.vxVo.comment;

import com.cskaoyan.bean.vo.vxVo.UserInfo;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 该类用于向客户端返回 /wx/comment/list/接口 信息;
 * @author: 陈慧颖
 * @time: Created by chy on 2022/6/7 20:50
 */


@Data
public class CommentListVo {

    /**
     * {
     *                 "userInfo":{
     *                     "nickName":"user123",
     *                     "avatarUrl":""
     *                 },
     *                 "addTime":"2022-05-09 18:30:01",
     *                 "picList":[
     *
     *                 ],
     *                 "adminContent":"",
     *                 "content":"123"
     *             }
     */
    private UserInfo userInfo;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    // VO: picList ; 但是 PO 是 pic
    private List<?> picList;
    private String adminContent;
    private String content;


}
